﻿@model IEnumerable<DBTramite.BussinesEntities.T_Salida>

@{
    ViewBag.Title = "Tramite";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Tramite</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.destino)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.destino_old)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.nroexpediente)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.asunto)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.fechasalida)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.procedencia)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.procedencia_old)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.codexpinicial)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.estado)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.nrodocumento)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.codtipodocumento)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.nrodocsalida)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.visto)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.codemisor)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ccopia)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.interno)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.destino)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.destino_old)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.nroexpediente)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.asunto)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.fechasalida)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.procedencia)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.procedencia_old)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.codexpinicial)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.estado)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.nrodocumento)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.codtipodocumento)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.nrodocsalida)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.visto)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.codemisor)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ccopia)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.interno)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
